public class A {

  public
  int test;

  private void write() {
    test = 0;
  }

  private void read() {
    int i = test;
  }
}